A program logic for resources
نویسندگان
چکیده
We introduce a reasoning infrastructure for proving statements on resource consumption in an abstract fragment of the Java Virtual Machine Language (JVML). The infrastructure is based on a small hierarchy of program logics, with increasing levels of abstraction: at the top there is a type system for a high-level language that encodes resource consumption. The infrastructure is designed to be used in a proof-carrying code (PCC) scenario, where mobile programs can be equipped with formal evidence that they have good resource behaviour. This article presents the core logic in our infrastructure, a VDM-style program logic for partial correctness, that can make statements about resource consumption in a general form. We establish some important results for this logic, including soundness and completeness with respect to a resource-aware operational semantics for the JVML. We also present a second logic built on top of the core logic, which is used to express termination; it is also shown to be sound and complete. The entire infrastructure has been formalised in the theorem prover Isabelle/HOL, both to enhance confidence in the meta-theoretical results, and to provide a prototype implementation for PCC. We give examples to show the usefulness of this approach, including proofs of resource bounds on code resulting from compiling high-level functional programs.
منابع مشابه
وزن دهی و اولویتبندی عوامل و نشانگرهای ارزشیابی برنامه درسی علوم تجربی دوره ابتدایی
Hierarchical analysis is one of the prioritization methods of phenomena. This method provides comparison and use of expert people. In this research, the men-tioned method was applied in order to weight and prioritize valuation factors and indicators for applied science in primary school. The methodology of this research is descriptive survey. The statistical population is all experts (education...
متن کاملApplying Fuzzy Logic to the Estimation of Environmental Degradation Trends in Iran
During recent years several attempts have been made to incorporate environmental and natural resources degradation into national accounts. GNP as measured by the traditional system of national accounts does not consider environmental degradation caused by inefficient exploitation of natural resources. While the complete omission of environmental impacts is not possible, there could be an optima...
متن کاملEfficiency assessment of AHP and fuzzy logic methods in suitability mapping for artificial recharging (Case study: Sarbisheh basin, Southern Khorasan, Iran)
Recently, special attention has been paid to artificial groundwater recharge in water resource management in arid and semi-arid regions. Water resources distribution in these regions is extremely uneven, both in spatial and temporal forms and groundwater is the only water resource and is a major constraint on economic and social development. Artificial groundwater recharge is considered an appr...
متن کاملLocalization of Aellenia subaphylla C.A.Mey. plantation in winter rangelands of Golestan province, Iran
The aim of localization of rangeland species plantation is to predict the potentials and limitations of rangelands for plantation. Aellenia subaphylla is resistant to drought and salinity. It produces considerable forage in winter rangelands. In this research, the geographic information system and two methods of classic and fuzzy logic were used to locate this species in winter rangelands of Go...
متن کاملA Design Methodology for Reliable MRF-Based Logic Gates
Probabilistic-based methods have been used for designing noise tolerant circuits recently. In these methods, however, there is not any reliability mechanism that is essential for nanometer digital VLSI circuits. In this paper, we propose a novel method for designing reliable probabilistic-based logic gates. The advantage of the proposed method in comparison with previous probabilistic-based met...
متن کاملApplications of Fuzzy Program Graph in Symbolic Checking of Fuzzy Flip-Flops
All practical digital circuits are usually a mixture of combinational and sequential logic. Flip–flops are essential to sequential logic therefore fuzzy flip–flops are considered to be among the most essential topics of fuzzy digital circuit. The concept of fuzzy digital circuit is among the most interesting applications of fuzzy sets and logic due to the fact that if there has to be an ultimat...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Theor. Comput. Sci.
دوره 389 شماره
صفحات -
تاریخ انتشار 2007